package org.linlinjava.litemall.wx.vo;

import javax.validation.constraints.NotBlank;

/**
 * @author zhy
 * @date 2019-07-12 15:42
 **/
public class GroupBuyOrder {
	@NotBlank(message = "收货地址不能为空")
	private String addressId;

	@NotBlank(message = "支付密码不能为空")
	private String payPassword;

	@NotBlank(message = "数量不能为空")
	private String num;

	@NotBlank(message = "商品ID不能为空")
	private String goodId;

	@NotBlank(message = "规格不能为空")
	private String productId;

	/**
	 * 此为groupDetailId,用来更新拼团数量
	 */
	@NotBlank(message = "groupDetailId不能为空")
	private String groupDetailId;

	public String getAddressId() {
		return addressId;
	}

	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}

	public String getPayPassword() {
		return payPassword;
	}

	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getGoodId() {
		return goodId;
	}

	public void setGoodId(String goodId) {
		this.goodId = goodId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getGroupDetailId() {
		return groupDetailId;
	}

	public void setGroupDetailId(String groupDetailId) {
		this.groupDetailId = groupDetailId;
	}
}
